package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 单据对象 logistics
 *
 * @author ruoyi
 * @date 2024-03-26
 */
public class Logistics extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 序号
     */
    @Excel(name = "序号")
    private Long sortNo;

    /**
     * 型号
     */
    @Excel(name = "型号")
    private String model;

    /**
     * 面积
     */
    @Excel(name = "面积")
    private String area;

    /**
     * 客户
     */
    @Excel(name = "客户")
    private String customer;

    /**
     * 物料编码
     */
    @Excel(name = "物料编码")
    private String materialCode;

    /**
     * 物料名称
     */
    @Excel(name = "物料名称")
    private String materialName;

    /**
     * 净重
     */
    @Excel(name = "净重")
    private String weight;

    /**
     * 源单编号
     */
    @Excel(name = "源单编号")
    private String sourceCode;

    /**
     * 计数
     */
    @Excel(name = "计数")
    private Long count;

    /**
     * 包装重量
     */
    @Excel(name = "包装重量")
    private String packWeight;

    /**
     * 批次
     */
    @Excel(name = "批次")
    private String batch;

    /**
     * 发货组织
     */
    @Excel(name = "发货组织")
    private String organization;

    /**
     * 幅宽
     */
    @Excel(name = "幅宽")
    private String width;

    /**
     * 是否塑料箱
     */
    @Excel(name = "是否塑料箱")
    private String plasticBox;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setSortNo(Long sortNo) {
        this.sortNo = sortNo;
    }

    public Long getSortNo() {
        return sortNo;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public String getModel() {
        return model;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getArea() {
        return area;
    }

    public void setCustomer(String customer) {
        this.customer = customer;
    }

    public String getCustomer() {
        return customer;
    }

    public void setMaterialCode(String materialCode) {
        this.materialCode = materialCode;
    }

    public String getMaterialCode() {
        return materialCode;
    }

    public void setMaterialName(String materialName) {
        this.materialName = materialName;
    }

    public String getMaterialName() {
        return materialName;
    }

    public void setWeight(String weight) {
        this.weight = weight;
    }

    public String getWeight() {
        return weight;
    }

    public void setSourceCode(String sourceCode) {
        this.sourceCode = sourceCode;
    }

    public String getSourceCode() {
        return sourceCode;
    }

    public void setCount(Long count) {
        this.count = count;
    }

    public Long getCount() {
        return count;
    }

    public void setPackWeight(String packWeight) {
        this.packWeight = packWeight;
    }

    public String getPackWeight() {
        return packWeight;
    }

    public void setBatch(String batch) {
        this.batch = batch;
    }

    public String getBatch() {
        return batch;
    }

    public void setOrganization(String organization) {
        this.organization = organization;
    }

    public String getOrganization() {
        return organization;
    }

    public void setWidth(String width) {
        this.width = width;
    }

    public String getWidth() {
        return width;
    }

    public void setPlasticBox(String plasticBox) {
        this.plasticBox = plasticBox;
    }

    public String getPlasticBox() {
        return plasticBox;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("sortNo", getSortNo())
                .append("model", getModel())
                .append("area", getArea())
                .append("customer", getCustomer())
                .append("materialCode", getMaterialCode())
                .append("materialName", getMaterialName())
                .append("weight", getWeight())
                .append("sourceCode", getSourceCode())
                .append("count", getCount())
                .append("packWeight", getPackWeight())
                .append("batch", getBatch())
                .append("organization", getOrganization())
                .append("width", getWidth())
                .append("plasticBox", getPlasticBox())
                .toString();
    }
}
